package com.itheima.fileIO;

import java.io.File;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOException;

public class IODemo01 {
    public static void main(String[] args) throws IOException {
        FileOutputStream fos=new FileOutputStream("F:\\Develop\\a.txt",true);
        FileOutputStream fos1=new FileOutputStream(new File("F:\\Develop\\a.txt"));
        fos.write(1);
        fos.close();
    }
}
